package com.caldremch.androidfoundation.http.callback;

import com.caldremch.androidfoundation.http.model.BaseRespData;

/**
 *  回调
 * @param <T> 具体数据类型
 */
public abstract class AbsCallback<T> {

    public abstract void onSuccess(BaseRespData<T> respData, T data) throws Exception;
    public abstract void onFailure(BaseRespData<T> respData, Throwable e) throws Exception;

}
